projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f346ba
)
Defer textdocument/formatting requests
author
João Távora
<joaotavora@gmail.com>
Thu, 21 Jun 2018 12:58:48 +0000
(13:58 +0100)
committer
João Távora
<joaotavora@gmail.com>
Thu, 21 Jun 2018 12:58:48 +0000
(13:58 +0100)
* eglot.el (eglot-format-buffer): Pass DEFERRED to eglot--request.
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 0f366c41a74df48e67a53179d0b35e06c2d1db25..e96a3e68e23d91f7272b642bf73e14c867575fd4 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-1410,7
+1410,8
@@
DUMMY is ignored."
(list :textDocument (eglot--TextDocumentIdentifier)
:options (list :tabSize tab-width
:insertSpaces
- (if indent-tabs-mode :json-false t))))))
+ (if indent-tabs-mode :json-false t)))
+ :textDocument/formatting)))
(defun eglot-completion-at-point ()
"EGLOT's `completion-at-point' function."